package com.vpclub.dao;

import com.vpclub.bean.Employee;

/**
 * @author : leimingchao
 * @date Date : 2021年08月04日 22:17
 */
public interface EmployeeDao {

    /**
     *根据id查询员工
     * @return
     */
    Employee getEmployeeById(Integer id);

    /**
     * 更新员工
     * @param employee
     * @return
     */
    int updateEmployee(Employee employee);

    boolean deleteEmployee(Integer id);

    int insertEmployee(Employee employee);
}
